import request from '@/api/request.js'
// 获取轮播图
export const GetBannerAPI = () => {
    return request.post('/app/gettravelbanners')
}

// 获取推荐列表
export const GetHomeListAPI = (params) =>{
     return request.post('/app/gethomelist',params)
}

// 跳转详情
export const GoDetailtAPI = (params) =>{
     return request.post('/app/gettravelbyid',params)
}

// 添加热度
 
export const AddHotAPI = (params) => {
     return request.post('/app/changetravels', params)
   }

// 搜索列表

export const GetSearchAPI = (params) => {
     return request.post('/app/getalltravels', params)
   }